package com.chuangjiangx.member.manager.web.web.basic.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @Auther: YZJ
 * @Date: 2018/8/28 17:59
 * @Description:创建微信会员卡参数对象
 */
@ApiModel
@Getter
@Setter
public class CreateWxCardRequest {
    /**
     * 商户logo
     */
    @ApiModelProperty(value = "商户logo", name = "logoUrl", required = true)
    private String logoUrl;

    /**
     * 操作提示
     */
    @ApiModelProperty(value = "商户名", name = "logoUrl", required = true)
    @NotNull(message = "{brandName.null}")
    private String merchantName;

    /**
     * 会员权益展示( 1:余额 2:积分 3：优惠券)
     */
    @ApiModelProperty(value = "会员权益展示( 1:余额 2:积分 3：优惠券)", name = "showEquityList", example = "[1,2,3]")
    private String showEquityList;


    /**
     * 操作提示
     */
    @ApiModelProperty(value = "操作提示", name = "operationInstruction", required = true)
    @Length(min = 0, max = 16, message = "{operationInstruction.limit}")
    private String operationInstruction;

    /**
     * 自定义入口开关 1:开启 0:关闭
     */
    @ApiModelProperty(value = "自定义入口开关 1:开启 0:关闭", name = "interfaceSwitch")
    private Integer interfaceSwitch;

    /**
     * 自定义入口名
     */
    @ApiModelProperty(value = "自定义入口名", name = "interfaceName")
    @Length(max = 5, message = "{interfaceName.limit}")
    private String interfaceName;

    /**
     * 自定义入口引导语
     */
    @ApiModelProperty(value = "自定义入口引导语", name = "interfaceGuide")
    @Length(max = 6, message = "{interfaceGuide.limit}")
    private String interfaceGuide;

    /**
     * 自定义跳转链接
     */
    @ApiModelProperty(value = "自定义跳转链接", name = "interfaceUrl")
    private String interfaceUrl;

}
